const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer:{
    port:9000,
    proxy:{
      '/api':{
        target:'http://10.30.230.2:9000',
        // pathRewrite:{'^/api':''},
        ws:true,//用于支持websocket
        changeOrigin:true
      }
    }//开启代理服务器
  }
})
